package com.app.common;

import com.app.vo.IdNameVo;

import java.util.ArrayList;
import java.util.List;

/**
 * 学历常量类
 */
public class EducationTool {
    public static final List<IdNameVo> EDUCATION_VO_LIST = new ArrayList<IdNameVo>();
    static {
        IdNameVo vo = new IdNameVo();
        vo.setId(1);
        vo.setName("小学");
        IdNameVo vo2 = new IdNameVo();
        vo2.setId(2);
        vo2.setName("初中");
        IdNameVo vo3 = new IdNameVo();
        vo3.setId(3);
        vo3.setName("高中");
        IdNameVo vo4 = new IdNameVo();
        vo4.setId(4);
        vo4.setName("大专");
        IdNameVo vo5 = new IdNameVo();
        vo5.setId(5);
        vo5.setName("本科");
        IdNameVo vo6 = new IdNameVo();
        vo6.setId(6);
        vo6.setName("研究生");
        IdNameVo vo7 = new IdNameVo();
        vo7.setId(7);
        vo7.setName("博士");
        EDUCATION_VO_LIST.add(vo);
        EDUCATION_VO_LIST.add(vo2);
        EDUCATION_VO_LIST.add(vo3);
        EDUCATION_VO_LIST.add(vo4);
        EDUCATION_VO_LIST.add(vo5);
        EDUCATION_VO_LIST.add(vo6);
        EDUCATION_VO_LIST.add(vo7);
    }
}
